/**
 * $Revision: 1.0 $
 * $Author: Eric Yang $
 * $Date: Aug 12, 2009 9:29:41 PM $
 *
 * Author: Eric Yang
 * Date  : Aug 12, 2009 9:29:41 PM
 *
 */
package com.gooex.web.action.organization.group;

import com.gooex.domain.organization.Group;
import com.gooex.web.action.BaseProtectedAction;


/**
 * @author Eric Yang
 * @version 1.0
 */
public class ViewGroup extends BaseProtectedAction {

	private String id;

	private Group group;

	public String execute() throws Exception {
		group = groupManager.getGroup(id);
		return SUCCESS;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Group getGroup() {
		return group;
	}

}
